#!/bin/bash
rm -rf dist
npx parcel build index.html --public-url https://margatroid.gitee.io/dorm-421/
cd dist
git init
git add .
git commit -m "update"
git remote add origin https://gitee.com/margatroid/dorm-421.git
git push --force origin master:pdf
cd ..
rm -rf dist
exit 0
